package com.wenhui.schoolyardinfo.login.model.base;

import com.wenhui.schoolyardinfo.login.callback.OnLoginListener;

import java.util.Map;

/**
 * author    : Urasaki
 * e-mail    : 1164688204@qq.com
 * date      : 2019/7/9 16:57
 * introduce :
 */

public interface ILoginModel {

    /**
     * @param bodyParams
     * @param onLoginListener
     */
    void login(Map<String, String> bodyParams, OnLoginListener onLoginListener);

    /**
     * @param bodyParams
     * @param onLoginListener
     */
    void register(Map<String, String> bodyParams, OnLoginListener onLoginListener);

    /**
     * @param bodyParams
     * @param onLoginListener
     */
    void changePassword(Map<String, String> bodyParams, OnLoginListener onLoginListener);
}
